Skip to content

logging: reduce default boot logspam#11

Merged
emilf merged 2 commits intopci-refinement-workfrom
chore/logspam-cleanup
Mar 7, 2026
Merged

logging: reduce default boot logspam#11
emilf merged 2 commits intopci-refinement-workfrom
chore/logspam-cleanup

Conversation

@emilf
Copy link
Owner

@emilf emilf commented Feb 22, 2026

Reduces default boot log volume (helpful for AI context + human scanning).

Changes

  • Kernel defaults: log level Info (not Trace), verbose output off, hardware inventory printing off.
  • QEMU headless default: drop extremely noisy -d int,cpu_reset; default to guest_errors with override via QEMU_DEBUG_FLAGS.
  • Bootloader output: filter many success/progress lines when VERBOSE_OUTPUT=false.
  • xHCI: demote some descriptor/port chatter to DEBUG.
  • Docs: add docs/logging.md describing logging policy and knobs.

Before/after sanity: ./startQemu.sh headless 10 output dropped from ~1180 lines to ~159 lines in my captures.

Notes

  • VERBOSE/DEBUG/TRACE can still be enabled via the monitor (loglevel ...) or by changing config constants.

@emilf emilf merged commit e9d653c into pci-refinement-work Mar 7, 2026
@emilf emilf deleted the chore/logspam-cleanup branch March 7, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant